package com.justgame.project.service.api.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.justgame.project.cloud.common.constant.Const;
import lombok.Data;

import javax.validation.constraints.Null;
import java.io.Serializable;
import java.util.Date;

@Data
public class ArtPageGameMap implements Serializable {

    private final static long serialVersionUID = Const.V;

    /**
     * 主键id
     */
    @Null
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private String id;

    /**
     * 文章id
     */
    @Null
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private String pageId;

    /**
     * 游戏id
     */
    @Null
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private String gameId;

    /**
     * 创建人
     */
    @Null
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private String createUser;

    /**
     * 创建时间
     */
    @Null
    private Date createDate;

}
